#pragma once
#include <QString>
namespace apollo
{
	namespace core
	{
		class ConnectionErrorInfo
		{
		public:
			static QString ERROR_TYPE_SOCKET;
			static QString ERROR_TYPE_UNKNOWN;
			static QString ERROR_TYPE_MESSAGE;
			static QString ERROR_TYPE_SESSION;
		public:
			QString errorType;
			QString errorCode;
			QString errorDesc;

		public:
			ConnectionErrorInfo():errorType(ERROR_TYPE_UNKNOWN){};
			explicit ConnectionErrorInfo(const QString &errorCode, const QString &errorDesc, const QString &errorType)
				:errorCode(errorCode), errorDesc(errorDesc), errorType(errorType){};

		};
	}}

